package com.lct.param;

public class MethodParamDemo1 {
    public static void main(String[] args) {
        //目标:掌握基本类型的数据传递机制
        int a = 10;
        change(a);
        System.out.println(a);
    }

    public static  void change(int a){
        System.out.println(a);
        a = 20;
        System.out.println(a);
    }
}
